package com.bluefoxyu.service;

import com.bluefoxyu.domain.dto.EnrollmentDTO;
import com.bluefoxyu.domain.dto.EnrollmentPageQueryDTO;
import com.bluefoxyu.domain.entity.Enrollment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bluefoxyu.domain.result.PageResult;
import com.bluefoxyu.domain.vo.EnrollmentVO;
import com.bluefoxyu.domain.vo.StudentTotalGradeVO;

import java.util.List;

/**
 * <p>
 * 选课成绩表 服务类
 * </p>
 *
 * @author bluefoxyu
 * @since 2024-06-16
 */
public interface IEnrollmentService extends IService<Enrollment> {

    EnrollmentVO getEnrollmentStatistics();

    List<StudentTotalGradeVO> getCreditByStudent();

    void AddCourse(EnrollmentDTO enrollmentDTO,Integer studentId);

    PageResult pageQuery(EnrollmentPageQueryDTO enrollmentPageQueryDTO);
}
